package cn.kattomy.shop.order.vo;

import cn.kattomy.shop.product.vo.Product;

/**
 *`itemid` int(11) NOT NULL AUTO_INCREMENT,
  `count` int(11) DEFAULT NULL,
  `subtotal` double DEFAULT NULL,
  `pid` int(11) DEFAULT NULL,
  `oid` int(11) DEFAULT NULL,
 * @author kattomy
 *
 */
public class OrderItem {

	//订单项的 id
	private Integer itemid;
	//订单项的 数量
	private Integer count;
	//订单项的小计
	private Double subtotal;
	
	//订单项包含的商品,对应 pid
	private Product product;
	public Integer getItemid() {
		return itemid;
	}
	public void setItemid(Integer itemid) {
		this.itemid = itemid;
	}
	public Integer getCount() {
		return count;
	}
	public void setCount(Integer count) {
		this.count = count;
	}
	public Double getSubtotal() {
		return subtotal;
	}
	public void setSubtotal(Double subtotal) {
		this.subtotal = subtotal;
	}
	public Product getProduct() {
		return product;
	}
	public void setProduct(Product product) {
		this.product = product;
	}
	public Order getOrder() {
		return order;
	}
	public void setOrder(Order order) {
		this.order = order;
	}
	//订单项所属的订单,对应 oid 
	private Order order;
	
}
